cmake_minimum_required(VERSION 3.10)
#generated_code_begin

set(SERVICE_DIR ${PROJECT_SOURCE_DIR}/../../../..)
file(GLOB USR_IMPL_SRC ${SERVICE_DIR}/usr/impl/guildserviceauth/GuildServiceAuth/*.cpp)
set(USR_INCLUDE_DIR ${SERVICE_DIR}/usr/impl/guildserviceauth/GuildServiceAuth)
set(USR_DEBUG_LINK_LIB ${SERVICE_DIR}/lib/guildserviceauth/Debug/libguildserviceauth.a)
set(USR_LINK_RELEASE_LIB ${SERVICE_DIR}/lib/guildserviceauth/Release/libguildserviceauth.a)
#generated_code_end


#add you own code here
set(GUILD_SERVICE_AUTH_DIR ${SERVICE_DIR}/usr/guildservice/src/guildserviceauth)
#append your own include dir by
list(APPEND USR_INCLUDE_DIR 
    ${SERVICE_DIR}/src/include
    ${SERVICE_DIR}/src/include/root
    ${SERVICE_DIR}/..
    ${SERVICE_DIR}/usr/guildservice/include
    ${GUILD_SERVICE_AUTH_DIR}
    ${GUILD_SERVICE_AUTH_DIR}/../../include
    ${GUILD_SERVICE_AUTH_DIR}/../../../../src/include/guildserviceauth
    ${GUILD_SERVICE_AUTH_DIR}/../../../../src/include/guildserviceauth/protobuf
    ${GUILD_SERVICE_AUTH_DIR}/../../../../../../thirdparty
    ${GUILD_SERVICE_AUTH_DIR}/../../../../thirdparty/include
    /usr/local/include/hiredis
)
#list(APPEND USR_INCLUDE_DIR your_include_dir)
#append your own source file by
#list(APPEND USR_IMPL_SRC your_source_file)
aux_source_directory(${SERVICE_DIR}/src/guildserviceauth USR_IMPL_SRC)
aux_source_directory(${SERVICE_DIR}/src/guildserviceauth/protobuf USR_IMPL_SRC) #pb
aux_source_directory(${SERVICE_DIR}/../../thirdparty/src/base64 USR_IMPL_SRC) #base64
aux_source_directory(${GUILD_SERVICE_AUTH_DIR} USR_IMPL_SRC)
#append debug lib 
#list(APPEND USR_DEBUG_LINK_LIB debuglib)
#append release lib
 #list(APPEND USR_LINK_RELEASE_LIB releaselib)
#end
